package com.eningqu.aipen.utils;

/**
 * Package:com.eningqu.aipen.utils
 * Author:starr
 * Time:2024/1/25 11:55
 * Description: 病历点位
 */
@SuppressWarnings("unused")
public class Constants {

    //A4纸张大小    280 × 396 mm
    //像素大小
    public static final int A4_WIDTH = 2560;
    public static final int A4_HEIGHT = 3620;

    //码点单元
    public static final double DOT_UNIT = 2.032;//mm

    //西医病历本点位
    public static class WestPage {
        //新建病历点位
        public static final int NEW_PAGE_X = 1345;
        public static final int NEW_PAGE_Y = 320;
        public static final int NEW_PAGE_END_X = 1545;
        public static final int NEW_PAGE_END_Y = 400;

        //提交病历
        public static final int SAVE_X = 1340;
        public static final int SAVE_Y = 980;
        public static final int SAVE_END_X = 1490;
        public static final int SAVE_END_Y = 1085;

        //拍照记录
        public static final int PIC_X = 1340;
        public static final int PIC_Y = 650;
        public static final int PIC_END_X = 1540;
        public static final int PIC_END_Y = 720;

        //红色点位
        public static final int RED_X = 1040;
        public static final int RED_Y = 2000;
        public static final int RED_END_X = 1120;
        public static final int RED_END_Y = 2080;

        //黑色点位
        public static final int BLACK_X = 920;
        public static final int BLACK_Y = 2020;
        public static final int BLACK_END_X = 990;
        public static final int BLACK_END_Y = 2080;

        //姓名点位
        public static final int NAME_START_X = 490;
        public static final int NAME_START_Y = 310;
        public static final int NAME_WIDTH = 950 - 490;
        public static final int NAME_HEIGHT = 440 - 310;

        //性别点位
        public static final int SEX_X = 1280;
        public static final int SEX_Y = 310;
        public static final int SEX_WIDTH = 1970 - 1280;
        public static final int SEX_HEIGHT = 440 - 310;

        //年龄点位
        public static final int AGE_X = 490;
        public static final int AGE_Y = 450;
        public static final int AGE_WIDTH = 950 - 490;
        public static final int AGE_HEIGHT = 570 - 450;

        //联系电话点位
        public static final int TEL_X = 1280;
        public static final int TEL_Y = 450;
        public static final int TEL_WIDTH = 1970 - 1280;
        public static final int TEL_HEIGHT = 570 - 450;

        //体温点位
        public static final int TEM_X = 715;
        public static final int TEM_Y = 590;
        public static final int TEM_WIDTH = 1260 - 715;
        public static final int TEM_HEIGHT = 710 - 590;

        //呼吸点位
        public static final int BREATH_X = 1500;
        public static final int BREATH_Y = 590;
        public static final int BREATH_WIDTH = 1970 - 1490;
        public static final int BREATH_HEIGHT = 700 - 590;

        //脉搏点位
        public static final int PULSE_X = 700;
        public static final int PULSE_Y = 730;
        public static final int PULSE_WIDTH = 1260 - 700;
        public static final int PULSE_HEIGHT = 845 - 730;

        //血压点位
        public static final int PRESS_X = 1490;
        public static final int PRESS_Y = 730;
        public static final int PRESS_WIDTH = 1970 - 1490;
        public static final int PRESS_HEIGHT = 845 - 730;

        //智能问诊
        public static final int AI_X = 1330;
        public static final int AI_Y = 500;
        public static final int AI_END_X = 1520;
        public static final int AI_END_Y = 580;

        //过敏信息
        public static final int ALLERGY_X = 490;
        public static final int ALLERGY_Y = 860;
        public static final int ALLERGY_WIDTH = 1960 - 490;
        public static final int ALLERGY_HEIGHT = 1000 - 860;

        //主诉点位
        public static final int MAIN_X = 490;
        public static final int MAIN_Y = 1020;
        public static final int MAIN_WIDTH = 1960 - 485;
        public static final int MAIN_HEIGHT = 1340 - 1020;

        //现病历点位
        public static final int NOW_X = 490;
        public static final int NOW_Y = 1355;
        public static final int NOW_WIDTH = 1960 - 490;
        public static final int NOW_HEIGHT = 1580 - 1355;

        //既往史点位
        public static final int BEFORE_X = 490;
        public static final int BEFORE_Y = 1600;
        public static final int BEFORE_WIDTH = 1960 - 490;
        public static final int BEFORE_HEIGHT = 1830 - 1600;

        //检查资料点位
        public static final int CHECK_X = 490;
        public static final int CHECK_Y = 1850;
        public static final int CHECK_WIDTH = 1960 - 490;
        public static final int CHECK_HEIGHT = 2070 - 1850;

        //初步诊断点位
        public static final int FIRST_X = 490;
        public static final int FIRST_Y = 2090;
        public static final int FIRST_WIDTH = 1960 - 490;
        public static final int FIRST_HEIGHT = 2430 - 2090;

        //处方点位
        public static final int DEAL_X = 490;
        public static final int DEAL_Y = 2450;
        public static final int DEAL_WIDTH = 1960 - 490;
        public static final int DEAL_HEIGHT = 2770 - 2450;

        //医生签名处方
        public static final int SIGN_X = 490;
        public static final int SIGN_Y = 2780;
        public static final int SIGN_WIDTH = 1960 - 490;
        public static final int SIGN_HEIGHT = 2980 - 2780;

    }


    //中医病历本点位
    public static class EastPage {

        //过敏信息
        public static final int ALLERGY_X = 450;
        public static final int ALLERGY_Y = 450;
        public static final int ALLERGY_WIDTH = 1960 - 450;
        public static final int ALLERGY_HEIGHT = 550 - 450;

        //主诉点位
        public static final int MAIN_X = 450;
        public static final int MAIN_Y = 580;
        public static final int MAIN_WIDTH = 1960 - 450;
        public static final int MAIN_HEIGHT = 720 - 580;

        //现病历点位
        public static final int NOW_X = 450;
        public static final int NOW_Y = 740;
        public static final int NOW_WIDTH = 1960 - 450;
        public static final int NOW_HEIGHT = 910 - 740;

        //既往史点位
        public static final int BEFORE_X = 450;
        public static final int BEFORE_Y = 940;
        public static final int BEFORE_WIDTH = 1960 - 450;
        public static final int BEFORE_HEIGHT = 1030 - 940;

        //个人史
        public static final int PERSON_X = 450;
        public static final int PERSON_Y = 1050;
        public static final int PERSON_WIDTH = 1960 - 450;
        public static final int PERSON_HEIGHT = 1150 - 1050;

        //婚育史
        public static final int MARRY_X = 450;
        public static final int MARRY_Y = 1180;
        public static final int MARRY_WIDTH = 1960 - 450;
        public static final int MARRY_HEIGHT = 1280 - 1180;

        //家族史
        public static final int FAMILY_X = 450;
        public static final int FAMILY_Y = 1290;
        public static final int FAMILY_WIDTH = 1960 - 450;
        public static final int FAMILY_HEIGHT = 1380 - 1290;

        //望
        public static final int LOOK_X = 810;
        public static final int LOOK_Y = 1400;
        public static final int LOOK_WIDTH = 1960 - 810;
        public static final int LOOK_HEIGHT = 1520 - 1400;

        //闻
        public static final int SMELL_X = 810;
        public static final int SMELL_Y = 1540;
        public static final int SMELL_WIDTH = 1960 - 810;
        public static final int SMELL_HEIGHT = 1670 - 1540;


        //切
        public static final int PULSE_X = 810;
        public static final int PULSE_Y = 1670;
        public static final int PULSE_WIDTH = 1960 - 810;
        public static final int PULSE_HEIGHT = 1830 - 1670;

        //查体
        public static final int BODY_X = 450;
        public static final int BODY_Y = 1850;
        public static final int BODY_WIDTH = 1960 - 450;
        public static final int BODY_HEIGHT = 1990 - 1850;


        //检查资料点位
        public static final int CHECK_X = 450;
        public static final int CHECK_Y = 2010;
        public static final int CHECK_WIDTH = 1960 - 450;
        public static final int CHECK_HEIGHT = 2130 - 2010;

        //初步诊断点位
        public static final int FIRST_X = 800;
        public static final int FIRST_Y = 2150;
        public static final int FIRST_WIDTH = 1960 - 800;
        public static final int FIRST_HEIGHT = 2290 - 2150;

        //药物治疗
        public static final int DRUG_X = 450;
        public static final int DRUG_Y = 2450;
        public static final int DRUG_WIDTH = 1960 - 450;
        public static final int DRUG_HEIGHT = 2660 - 2450;

        //处方点位
        public static final int DEAL_X = 450;
        public static final int DEAL_Y = 2670;
        public static final int DEAL_WIDTH = 1950 - 450;
        public static final int DEAL_HEIGHT = 2960 - 2670;

        //提交病历
        //=1368 dot.y=1464
        //dot.x=1568 dot.y=1524
        public static final int SAVE_X = 1360;
        public static final int SAVE_Y = 1465;
        public static final int SAVE_END_X = 1570;
        public static final int SAVE_END_Y = 1525;

        //拍照面诊记录
        //1347 dot.y=655
        //x=1568 dot.y=741,
        public static final int FACE_X = 1340;
        public static final int FACE_Y = 650;
        public static final int FACE_END_X = 1560;
        public static final int FACE_END_Y = 740;


        //拍照舌诊记录
        //1354 dot.y=969
        //.x=1541 dot.y=1049,
        public static final int TONGUE_X = 1350;
        public static final int TONGUE_Y = 970;
        public static final int TONGUE_END_X = 1540;
        public static final int TONGUE_END_Y = 1050;

        //智能问诊
        //dot.x=1357 dot.y=1171
        //dot.x=1571 dot.y=1236
        public static final int AI_X = 1355;
        public static final int AI_Y = 1170;
        public static final int AI_END_X = 1570;
        public static final int AI_END_Y = 1235;

    }
}
